package kr.hkit.framework.util;

public class MathUtil {
	
	public static double getDecimalPosition(double value, int position){
		String strValue = String.valueOf(value);
		return Double.parseDouble(strValue.substring(0, strValue.indexOf(".")+position+1));
	}
	
}
